<template>
  <div>
    <template v-for="item in dataList">
      <el-descriptions title="" :column="2" border style="margin-bottom: 10px;">
        <el-descriptions-item label="业务环节" :span="2">{{title}}</el-descriptions-item>
        <el-descriptions-item label="提交人">{{item.tjuser}}</el-descriptions-item>
        <el-descriptions-item label="提交时间">{{item.tjtime}}</el-descriptions-item>
        <el-descriptions-item label="审核人">{{item.spuser}}</el-descriptions-item>
        <el-descriptions-item label="审核人单位">{{item.spdw}}</el-descriptions-item>
        <el-descriptions-item label="审核结果">
          <span v-if="item.spstate == '1'">通过</span>
          <span v-else>未通过</span>
        </el-descriptions-item>
        <el-descriptions-item label="审核时间">{{item.sptime}}</el-descriptions-item>
        <el-descriptions-item label="审核意见" :span="2">{{item.remark}}</el-descriptions-item>
      </el-descriptions>
    </template>
  </div>
</template>

<script>
export default {
  props: {
    title:{
      type: String,
      default: ''
    },
    // 页签列表，格式形如[{path:"跳转路径"，title:"显示的标题"}]
    dataList: {
      type: Array,
      default: () => []
    }
  },
}
</script>
<style scoped lang="scss">

</style>
